﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_Gabarito : System.Web.UI.Page
{
    #region " Load "

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        { 
        }
    }

    #endregion    

    #region " Grid "

    protected void grvPrincipal_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            DataRowView lRow = (DataRowView)e.Row.DataItem;

            if (lRow["tip_processo_pro"].ToString() == "1")
            {
                e.Row.Cells[1].Text = "Normal";
            }
            else
            {
                e.Row.Cells[1].Text = "Agendado";
            }
        }
    }

    #endregion    
}